package com.meilai.project.service.business.customer;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.meilai.project.dto.business.customer.CustomerFollowTmpDTO;
import com.meilai.project.entity.business.customer.CustomerFollowTmp;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 客户跟进临时表 服务类
 * </p>
 *
 * @author xhy
 * @since 2022-01-06
 */
public interface CustomerFollowTmpService extends IService<CustomerFollowTmp> {

    Boolean saveBatch(List<CustomerFollowTmpDTO> dtos, Long flowId);
    /**
     * 根据审核ID进行分页查询
     * @param current_page
     * @param page_size
     * @param flow_id
     * @return
     */
    Page<CustomerFollowTmpDTO> page(Integer current_page, Integer page_size, Long flow_id);
}
